# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-jellyfin-apiclient-python
pkgver=1.7.2
pkgrel=1
pkgdesc="Python API client for Jellyfin"
url="https://github.com/jellyfin/jellyfin-apiclient-python"
arch="noarch"
license="GPL-3.0-only"
depends="
	py3-requests
	py3-six
	py3-urllib3
	py3-websocket-client
	python3
	"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/j/jellyfin-apiclient-python/jellyfin-apiclient-python-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/jellyfin-apiclient-python-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
70685a65da58588013f304d1185ec7d672872c1891f0a81d1ac9c56b2be54b88f920192d0c9ba047d11f78125d937e9f6c920ccfc9687a3e862beff7190aff8c  jellyfin-apiclient-python-1.7.2.tar.gz
"
